using System;

namespace SharpMud.MudLib.SAMPLE.Net.SessionStates
{
	public class WaitForEnter : SessionStateBase
	{
		public override string StateID
		{
			get
			{
				return "WaitForEnter";
			}
		}

		public override void Pulse()
		{
			if(!this.StillActive) return;
			if(Session.In.ReadLine()!=String.Empty)
			{
				this.SetInactive();
			}
		}
	}
}
